<?php

namespace App\Http\Requests\Api\ApplyDraft;

use App\Http\Requests\Request;

class Detail extends Request
{
    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules(): array
    {
        return [
            'id' => 'required',
        ];
    }

    public function messages(): array
    {
        return [
            'id.required' => '请填写 姓名',
        ];
    }
}
